<?php
session_start("logado");
$nome = $_SESSION['usuario']; 
$funcao = $_SESSION['funcao'];
if($nome==null)
    header("location: /site/index.php");
?>
